import request from '@/utils/request'

// 新增/编辑权限
export function addPower(data) {
  return request({
    url: '/power/save',
    method: 'get',
    params: data
  })
}
// 获取权限列表
export function getPowerList(data) {
  return request({
    url: '/power/list',
    method: 'get',
    params: data
  })
}
// 权限删除
export function removePower(data) {
  return request({
    url: '/power/delete',
    method: 'get',
    params: data
  })
}
